/**
 * Copyright (c) 2019 EOVA.CN. All rights reserved.
 * 
 * Licensed under the EPPL license: http://eova.cn/eppl.txt
 * For authorization, please contact: admin@eova.cn
 */
package com.oss.shop;

import com.eova.common.Easy;
import com.eova.common.base.BaseController;

/**
 * 酒店管理
 * 
 * @author Jieven
 * 
 */
public class ShopController extends BaseController {

	public void getcustcodeById(){
		String id = getPara(0);
		Shop shop = Shop.dao.findShopById(Integer.parseInt(id));
		Easy easy = new Easy();
		easy.setData(shop);
		easy.setSuccess(true);
		renderJson(easy);
	}

}